<div class="bjui-pageHeader">
    <form id="pagerForm" data-toggle="ajaxsearch" action="{:U('index')}" method="post">
        <div class="bjui-searchBar">
            <div class="bjui-searchBar">
                <label>条件搜索：</label>
                <div role="group" class="btn-group">
                    <select name="key" data-toggle="selectpicker">
                        <option value="order_sn" <?php echo I("key")=="order_sn" ? "selected='true'" : "";?>>网站订单号</option>
                        <option value="order_sn" <?php echo I("key")=="order_no" ? "selected='true'" : "";?>>系统订单号</option>
                        <option value="user_name" <?php echo I("key")=="user_name" ? "selected='true'" : "";?>>姓名</option>
                        <option value="mobile_phone" <?php echo I("key")=="mobile_phone" ? "selected='true'" : "";?>>手机</option>
                        <option value="home_phone" <?php echo I("key")=="home_phone" ? "selected='true'" : "";?>>电话</option>
                        <option value="address" <?php echo I("key")=="address" ? "selected='true'" : "";?>>地址</option>
                        <option value="goods_sn" <?php echo I("key")=="goods_sn" ? "selected='true'" : "";?>>货号</option>
                        <option value="bar_code" <?php echo I("key")=="bar_code" ? "selected='true'" : "";?>>条码</option>
                        <option value="seller_note" <?php echo I("key")=="seller_note" ? "selected='true'" : "";?>>卖家备注</option>
                        <option value="message" <?php echo I("key")=="message" ? "selected='true'" : "";?>>买家留言</option>
                        <option value="check_message" <?php echo I("key")=="check_message" ? "selected='true'" : "";?>>审单备注</option>
						<option value="host_order_sn" <?php echo I("key")=="host_order_sn" ? "selected='true'" : "";?>>申请编号</option>
                    </select>
                    <input type="text" name="value" class="form-control" size="20" value="{:I('value')}">
                </div>
                <input type="hidden" name="bank_id" value="{:I('bank_id')}" />
                &nbsp;
                <!--<label>银行类型：</label>-->
                <!--<div role="group" class="btn-group">-->
                <!--<select name="bank_id" data-toggle="selectpicker">-->
                <!--<option value="">全部</option>-->
                <!--<?php foreach($bankList as $bank):?>-->
                <!--<option value="{$bank.id}" <?php echo I("bank_id")==$bank['id'] ? "selected='true'" : "";?>>{$bank.name}</option>-->
                <!--<?php endforeach;?>-->
                <!--</select>-->
                <!--</div>-->
                &nbsp;
                <label>商品添加状态：</label>

                <div role="group" class="btn-group">
                    <select name="status" data-toggle="selectpicker">
                        <option value="-2" <?php echo I("status", -2)==-2 ? "selected='true'" : "";?>>所有</option>
                        <option value="{$Think.ORDER_GOODS_ADD_SUCCESS}" <?php echo I("status", -2)==ORDER_GOODS_ADD_SUCCESS ? "selected='true'" : "";?>>添加成功</option>
                        <option value="{$Think.ORDER_GOODS_UNDERSTOCK}" <?php echo I("status", -2)==ORDER_GOODS_UNDERSTOCK ? "selected='true'" : "";?>>库存不足</option>
                        <option value="{$Think.ORDER_BAR_CODE_NULL}" <?php echo I("status", -2)==ORDER_BAR_CODE_NULL ? "selected='true'" : "";?>>找不到条码</option>
                        <option value="{$Think.ORDER_GOODS_ADD_NULL}" <?php echo I("status", -2)==ORDER_GOODS_ADD_NULL ? "selected='true'" : "";?>>商品未添加</option>
                        <option value="{$Think.ORDER_GOODS_IS_DEL}" <?php echo I("status", -2)==ORDER_GOODS_IS_DEL ? "selected='true'" : "";?>>商品被删除</option>
                    </select>
                </div>
                &nbsp;
                <button type="submit" class="btn-default" data-icon="search">查询</button>&nbsp;
               
            </div>
        </div>
    </form>
</div>